home *** CD-ROM | disk | FTP | other *** search
- head 1.1;
- branch 1.1.1;
- access ;
- symbols start:1.1.1.1 oleg:1.1.1;
- locks ; strict;
- comment @// @;
-
-
- 1.1
- date 2005.01.09.18.45.06; author oleg; state Exp;
- branches 1.1.1.1;
- next ;
-
- 1.1.1.1
- date 2005.01.09.18.45.06; author oleg; state Exp;
- branches ;
- next ;
-
-
- desc
- @@
-
-
-
- 1.1
- log
- @Initial revision
- @
- text
- @//
- // AppTableDS.m
- // RocketLauncher
- //
- // Created by Oleg Kibirev on 1/2/05.
- // Copyright 2005 My Stuff. All rights reserved.
- //
-
- #import "AppTableDS.h"
-
-
- @@implementation AppTableDS
- -(void)setAppList: (NSArray *)al {
- [appList release];
- appList = [al retain];
- }
-
- -(void)dealloc {
- [appList release];
- [super dealloc];
- }
-
- -(int)numberOfRowsInTableView: (NSTableView *)table {
- return [appList count];
- }
-
- - (id)tableView:(NSTableView *)aTableView objectValueForTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex {
- AppInfo *ai = [appList objectAtIndex:rowIndex];
- if ([[aTableColumn identifier] isEqual:@@"i"])
- return [ai icon];
- else
- return [ai name];
- }
- @@end
- @
-
-
- 1.1.1.1
- log
- @RocketLauncher
- @
- text
- @@
-